package com.lzq.lottery_system.service;

import com.lzq.lottery_system.controller.param.CreatePrizeParam;
import com.lzq.lottery_system.controller.param.PageParam;
import com.lzq.lottery_system.service.dto.PageListDTO;
import com.lzq.lottery_system.service.dto.PrizeDTO;
import org.springframework.web.multipart.MultipartFile;

public interface PrizeService {
    /**
     * 创建单个奖品
     *
     * @param param 奖品属性
     * @param picFile 上传的奖品图片
     * @return
     */
    Long createPrize(CreatePrizeParam param, MultipartFile picFile);

    PageListDTO<PrizeDTO> findPrizeList(PageParam param);
}
